/**
 * FileFind - ftp/shares indexing and search php engine
 * Module: common-persist
 * Description: Common persistence interfaces
 * Copyright (c) 2003-2010 Rage Steel, www.gt2.ru
 */
package ru.ffind.persist.service;

import java.util.List;

import ru.ffind.common.model.SearchQuery;
import ru.ffind.common.model.SearchResult;

/**
 * Interface for searching.
 *
 * @author Rage Steel
 */
public interface SearchService {

    /**
     * Return search results for the given query.
     * 
     * @param searchQuery
     * @return
     */
    List<SearchResult> getResults(SearchQuery searchQuery);
}
